package kr.co.boogui.actions.reservation;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import kr.co.boogui.actions.ActionHandler;
import kr.co.boogui.dao.MemberDAO;
import kr.co.boogui.dao.MovieDAO;
import kr.co.boogui.dao.ReservationDAO;
import kr.co.boogui.model.JoinReservationVO;
import kr.co.boogui.model.MemberVO;

public class ReservationInfoAction implements ActionHandler {
	@Override
	public String execute(HttpServletRequest req, HttpServletResponse res)
			throws ServletException, IOException {
		String viewPage = "f|/WEB-INF/jsp/tiles/index.jsp";
		String rno = req.getParameter("rno");
		String mno = req.getParameter("mno");
		req.setAttribute("action", "../reservation/reserv_info.jsp");
		req.setAttribute("rdetail", ReservationDAO.readReservationdetailInfo(rno,mno));
		return viewPage;
	}

}
